package cn.com.yusys.yusp.custManager.repository.mapper;

import cn.com.yusys.yusp.commons.mapper.QueryModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface MarketTaskManagerMapper {

    List<Map<String,Object>> taskQuery(QueryModel queryModel);
    List<Map<String,Object>> taskLevel1(QueryModel queryModel);
    List<Map<String,Object>> taskLevel2(QueryModel queryModel);
    List<Map<String,Object>> taskLevel3(QueryModel queryModel);

    int insertMainTaskInfoData(Map map);

    int insertTaskInfoData(Map map);

    int deleteTask(String taskNum);

    int giveMainTask(Map map);

    List<Map<String, Object>> getTaskGroups(QueryModel queryModel);

    List<Map<String, Object>> getLevelGrid(QueryModel queryModel);

    List<Map<String,Object>> targetTask(QueryModel queryModel);

    List<Map<String, Object>> targetValueTask(QueryModel queryModel);
}
